home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 1.7 KB | 50 lines | [TEXT/GEOL] |
- Item 8099524 12-Nov-87 09:23
-
- From: V0344 Siemens Gammasonics, Henk Koopmans
-
- To: MACAPP$ MacApp Interest List
-
- Sub: Modeless Dialogs
-
-
- First, the background :
-
- myWindow: TWindow
- myView: TDialogView
-
- resource 'DLOG' (1221) {
- {40, 5, 450, 325},
- zoomDocProc,
- invisible,
- goAway,
- 0x0,
- 1221,
- "<<<>>>"};
-
- I'm trying to develop a modeless dialog for a Mac II 12inch screen.
- Keeping in mind that this program may occasionally be run on the original
- smaller screen, I intended to use the global routine AdaptToScreen.
-
- If I use AdaptToScreen with the rectangle size declared in my resource as
- shown above myWindow comes up bigger than myView. If I reduce the size
- declared in my resource so that it would fit the original smaller screen
- then myWindow comes up in the correct size, but myView has been truncated
- to the size declared in the resource. Thus myWindow still is bigger than
- myView plus I have lost some of myView.
-
- Let's remove AdaptToScreen, and look at my second problem.
- When I bring up myWindow to full View size the scrollbars are activated.
- This is very confusing for the user, since there is nothing to scroll to
- as the entire view is displayed.
-
- So the help I'm really asking for is advice (and perhaps a few pointers):
- Should I start messing with overriding TFrame methods, etc.? Or should I
- abandon the UDialog unit entirely? Or am I leaving something out?
-
- As a variety of modeless dialogs will be 50% of my application's user
- interface, I'm concerned about what sorts of things will be revised for
- dialogs in MacApp 2.0. Are there any programming tips I should follow now?
-
- Edith Wickliff, Siemens Gammasonics
-
-